OPC Studio User's Guide and Reference
StringStringDictionary Constructor(IEnumerable<KeyValuePair<String,String>>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.Specialized Namespace > StringStringDictionary Class > StringStringDictionary Constructor : StringStringDictionary Constructor(IEnumerable<KeyValuePair<String,String>>)
The sequence to copy the elements from.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the StringStringDictionary class that contains elements copied from the specified IEnumerable.
Syntax
'Declaration
 
Public Function New( _
   ByVal collection As IEnumerable(Of KeyValuePair(Of String,String)) _
)
'Usage
 
Dim collection As IEnumerable(Of KeyValuePair(Of String,String))
 
Dim instance As New StringStringDictionary(collection)
public StringStringDictionary( 
   IEnumerable<KeyValuePair<string,string>> collection
)
public:
StringStringDictionary( 
   IEnumerable<KeyValuePair<String^,String^>>^ collection
)

Parameters

collection
The sequence to copy the elements from.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also